package com.ccc3gc.mysystem.service;

import com.ccc3gc.mysystem.bean.UserAddress;

import java.util.List;

public interface UserAddressService {
    //根据用户Id查询用户地址
    List<UserAddress> selectAddressByUserId(UserAddress userAddress);

    UserAddress selectDetAdd(UserAddress userAddress);
    //新增用户地址
    int insertUserAddress(UserAddress userAddress);
    //修改用户地址信息
    int updateUserAddress(UserAddress userAddress,int addressId);
    //根据用户id删除用户地址
    int deleteUserAddressByUserId(int userId,int addressId);
}
